home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _E39A1A1B903B4B4E9A0BAEF7F0CAA35F < prev    next >
Encoding:
Text File  |  2004-03-16  |  2.8 KB  |  131 lines

  1. Shader()
  2. {// >=gf3
  3.     Shaderquality(3)
  4.     sortweight("translucent9")
  5.     NoLightmaps()
  6.     Cull("none")
  7.  
  8.     Pass()
  9.     {
  10.  
  11.         Pixelshader("Rays.psh")
  12.         tmu()
  13.         {
  14.             TexGen("world_position")
  15.             TexMtxDirPosScale(0.866025, 0.5, 0, 0, 0, 0, 0.0001, 0.0001, 0.0001)
  16.             TexMod("translate", "lin", 0, 0.01, 0, "lin", 0, 0.01, 0)
  17.             Texture()
  18.             {
  19.                 Image("Noise.dds")
  20.             }
  21.         }
  22.         tmu()
  23.         {
  24.             Texture()
  25.             {
  26.                 Image("RayMask.dds")
  27.                 quality("high")
  28.                 addressfunc("wrap", "clamp", "clamp")
  29.                 LodBias( 0 )
  30.             }
  31.         }
  32.  
  33.         !include("__Clouds.mtt")
  34.  
  35.         BlendFunc("one", "one")
  36.         BlendFuncFade("one", "one")
  37.         colorgen("tfactor", "none", 0,0,0, "user", 0,0,0)
  38.         DepthFunc("lequal", 0)
  39.         BlackFog()
  40.     }
  41. }
  42.  
  43. Shader()
  44. {// >=gf3
  45.     Shaderquality(1)
  46.     sortweight("translucent9")
  47.     NoLightmaps()
  48.     Cull("none")
  49.  
  50.     Pass()
  51.     {
  52.  
  53.         Pixelshader("RaysVeryLow.psh")
  54.         tmu()
  55.         {
  56.             TexGen("world_position")
  57.             TexMtxDirPosScale(0.866025, 0.5, 0, 0, 0, 0, 0.0001, 0.0001, 0.0001)
  58.             TexMod("translate", "lin", 0, 0.01, 0, "lin", 0, 0.01, 0)
  59.             Texture()
  60.             {
  61.                 Image("Noise.dds")
  62.             }
  63.         }
  64.         tmu()
  65.         {
  66.             Texture()
  67.             {
  68.                 Image("RayMask.dds")
  69.                 quality("high")
  70.                 addressfunc("wrap", "clamp", "clamp")
  71.                 LodBias( 0 )
  72.             }
  73.         }
  74.  
  75.         BlendFunc("one", "one")
  76.         BlendFuncFade("one", "one")
  77.         colorgen("tfactor", "none", 0,0,0, "user", 0,0,0)
  78.         DepthFunc("lequal", 0)
  79.         BlackFog()
  80.     }
  81. }
  82.  
  83. Shader()
  84. {
  85.  
  86.     sortweight("translucent9")
  87.     NoLightmaps()
  88.     Cull("none")
  89.  
  90.     Pass()
  91.     {
  92.  
  93.         tmu()
  94.         {
  95.             TexGen("world_position")
  96.             TexMtxDirPosScale(0.866025, 0.5, 0, 0, 0, 0, 0.0001, 0.0001, 0.0001)
  97.             TexMod("translate", "lin", 0, 0.01, 0, "lin", 0, 0.01, 0)
  98.             Texture()
  99.             {
  100.                 Image("Noise.dds")
  101.             }
  102.             ColorOp("mul", "texture", "tfactor", "current")
  103.         }
  104.         tmu()
  105.         {
  106.             Texture()
  107.             {
  108.                 Image("RayMask.dds")
  109.                 quality("high")
  110.                 addressfunc("wrap", "clamp", "clamp")
  111.                 LodBias( 0 )
  112.             }
  113.         }
  114.  
  115.         Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, %ambient_r)
  116.         BlendFunc("one", "one")
  117.         BlendFuncFade("one", "one")
  118.         colorgen("tfactor", "none", 0,0,0, "user", 0,0,0)
  119.         DepthFunc("lequal", 0)
  120.         BlackFog()
  121.     }
  122. }
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.